package badgegenerator.dao.mybatis;

import badgegenerator.model.User;
import org.apache.ibatis.annotations.Param;

public interface IUserMapper {
    public User getUserById(Integer id);
    
    public User getUserByNickName(String nickname);
    
    public void insert(User user);
    
    public void update(User user);
    
    public void delete(User user);
    
    public void updateBadgeProjectUserId(@Param("userId")Integer userId, @Param("projectId")Integer projectId);
}
